package com.sunlands.qdcy.deskmate.enums;

/**
 * @author zl
 * @version 1.0
 * @date Created in 2020/4/13
 */

public enum WechatTradeState {


    SUCCESS("SUCCESS","支付成功"),
    REFUND("REFUND","转入退款"),
    NOTPAY("NOTPAY","未支付"),
    CLOSED("CLOSED","已关闭"),
    REVOKED("REVOKED","已撤销（刷卡支付）"),
    USERPAYING("USERPAYING","用户支付中"),
    PAYERROR("PAYERROR","支付失败(其他原因，如银行返回失败)"),
    own_order_absent("own_order_absent","订单不存在"),
    own_repeat_notice("own_repeat_notice","支付回调"),
    own_payfee_unmatch("own_payfee_unmatch","支付回调金额不匹配"),
    ;


    /**
     * @param code
     * @param msg
     */

    WechatTradeState(String code,String msg) {
        this.code = code;
        this.msg = msg;
    }

    private String code;
    private String msg;

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
